import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

//引入Mint-ui
//引入Mintui
import MintUI from 'mint-ui'

Vue.use(MintUI)

import 'mint-ui/lib/style.css'


//引入mock
import './mock/mock'

//引入Tabbar,Header,Swiper组件,注册为全局组件
import Tabbar from './components/Tabbar.vue'
import Header from './components/Header.vue'
import Swiper from './components/Swiper.vue'


//注册
Vue.component('Tabbar',Tabbar)
Vue.component('Header', Header)
Vue.component('Swiper', Swiper)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
